import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import router from './router'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

//创建app
const app = createApp(App)
app.use(ElementPlus);
app.use(router)


//加载图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component);
  }

app.mount('#app')